﻿/***********************************************************************
 *            Project: CoreCms
 *        ProjectName: 核心内容管理系统                                
 *                Web: https://www.corecms.net                      
 *             Author: 大灰灰                                          
 *              Email: jianweie@163.com                                
 *         CreateTime: 2021/1/31 21:45:10
 *        Description: 暂无
 ***********************************************************************/

using System;
using System.Collections.Generic;

namespace CoreShop.Model
{
    /// <summary>
    ///     LayUIAdmin后端UI回调Json实体
    /// </summary>
    public class FromBodyModel
    {
        public string msgId { get; set; }

        /// <summary>
        /// 业务码(ok = 0, error = 1, timeout = 401)
        /// </summary>
        public int userId { get; set; } = 1;

        public int storeId { get; set; } = 1;

        /// <summary>
        /// 业务码(ok = 0, error = 1, timeout = 401)
        /// </summary>
        public int code { get; set; } = 1;

        /// <summary>
        /// 可选。信息内容。
        /// </summary>
        public string msg { get; set; } = "空数据返回";

        public object data { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public int status { get; set; } = 1;

        /// <summary>
        /// 签名
        /// </summary>
        public string sign { get; set; }
    }

    public class FMStorePost
    {
        public long storeId { get; set; }
        public object data { get; set; }
    }

    public class FMExchangePost
    {
        public long storeId { get; set; } = 0;
        public int corpId { get; set; } = 0;
        public int splitId { get; set; } = 0;
        public string tableName { get; set; }
        public long lastId { get; set; }
        public long lastTime { get; set; }
        public long lastCorpFoodTime { get; set; } = 0;
    }

    public class SysDataPost
    {
        public string itemProp { get; set; } = "4";
        public string startTime { get; set; } = "1900-1-1";
        public string startPage { get; set; } = "fasle";
        public string branchId { get; set; }
    }

    public class SysGoodsPost
    {
        public string itemProp { get; set; } = "4";
        public string startTime { get; set; } = "1900-1-1";
        public string startPage { get; set; } = "fasle";
        public string branchId { get; set; }

        public string spuId { get; set; }
    }

}